package com.nari.ncps.screen.dto.excelimport.al;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 销售情况表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("qt_dp_al_prodoper_sales")
@Schema(name = "AlProdoperSales对象", description = "销售情况表")
public class AlProdoperSales implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "年")
    @TableField("year")
    private Integer year;

    @Schema(description = "月")
    @TableField("month")
    private Integer month;

    @Schema(description = "日")
    @TableField("day")
    private Integer day;

    @Schema(description = "月计划销售量(吨)")
    @TableField("month_plan_sales")
    private BigDecimal monthPlanSales;

    @Schema(description = "月实际销售量(吨)")
    @TableField("month_actual_sales")
    private BigDecimal monthActualSales;

    @Schema(description = "月实际完成率(%)")
    @TableField("month_completion_rate")
    private BigDecimal monthCompletionRate;

    @Schema(description = "月超欠(吨)")
    @TableField("month_over_short")
    private BigDecimal monthOverShort;

    @Schema(description = "同比销售率(%)")
    @TableField("yoy_sales_rate")
    private BigDecimal yoySalesRate;

    @Schema(description = "销售品类:0-铝液,1-铝锭")
    @TableField("sales_category")
    private Byte salesCategory;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @Schema(description = "创建人")
    @TableField("creator")
    private String creator;

    @Schema(description = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @Schema(description = "更新人")
    @TableField("updater")
    private String updater;
}
